import request from '@/utils/request'
export function selectBankList(data) {
    return request({
        url: '/api/payment/selectBankList',
        method: 'post',
        data
    })
}
export function addBankInfo(data) {
    return request({
        url: '/api/payment/addBankInfo',
        method: 'post',
        data
    })
}
export function editBankInfo(data) {
    return request({
        url: '/api/payment/editBankInfo',
        method: 'post',
        data
    })
}
export function delBankInfo(data) {
    return request({
        url: '/api/payment/delBankInfo',
        method: 'post',
        data
    })
}
//设置线上支付线下支付
export function changeOnlineStatus(data) {
    return request({
        url: '/api/payment/changeOnlineStatus',
        method: 'post',
        data
    })
}
//线上支付失败列表
export function getFailList(data) {
    return request({
        url: '/api/Onlinepay/getFailList',
        method: 'post',
        data
    })
}
//修改付款失败付款单 付款账户
export function FailChangeBank(data) {
    return request({
        url: '/api/statement/FailChangeBank',
        method: 'post',
        data
    })
}
//获取企业银行列表
export function onlinelist(data) {
    return request({
        url: 'api/payment/onlinelist',
        method: 'post',
        data
    })
}
//获取省份
export function selectBankProvince(data) {
    return request({
        url: 'api/select/selectBankProvince',
        method: 'post',
        data
    })
}
// export function binkSupplier(data) {
//     return request({
//         url: 'api/payment/binkSupplier',
//         method: 'post',
//         data
//     })
// }
// export function getBinkSupplierList(data) {
//     return request({
//         url: 'api/payment/getBinkSupplierList',
//         method: 'post',
//         data
//     })
// }
export function getSupplierClassList(data) {
    return request({
        url: 'api/select/getSupplierClassList',
        method: 'post',
        data
    })
}
export function binkSupplierClass(data) {
    return request({
        url: 'api/Payment/binkSupplierClass',
        method: 'post',
        data
    })
}
export function getBinkSupplierClassList(data) {
    return request({
        url: 'api/Payment/getBinkSupplierClassList',
        method: 'post',
        data
    })
}